package com.hxiaoyi.cloud.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * 负载均衡轮询算法接口
 * @author 黄敬意
 * @date 2022-02-05 23:50
 **/
public interface LoadBalancer {
    /**获取服务器*/
    ServiceInstance instances(List<ServiceInstance> serviceInstances);
}
